/*
 * Copyright 2018 JDCLOUD.COM
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *    http:#www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 *
 * DNS Records for a Zone
 * Documentation for JDC StarShield DNS records
 *
 * OpenAPI spec version: v1
 * Contact: 
 *
 * NOTE: This class is auto generated by the jdcloud code generator program.
 */


using System;
using System.Collections.Generic;
using System.Text;
using JDCloudSDK.Core.Service;

using JDCloudSDK.Starshield.Model;
using JDCloudSDK.Core.Annotation;

namespace  JDCloudSDK.Starshield.Apis
{

    /// <summary>
    ///  updateDNSRecordRequest
    /// </summary>
    public class UpdateDNSRecordRequest : JdcloudRequest
    {
        ///<summary>
        /// DNS记录类型
        ///</summary>
        public   string Ty_pe{ get; set; }
        ///<summary>
        /// DNS记录名称
        ///Required:true
        ///</summary>
        [Required]
        public   string Name{ get; set; }
        ///<summary>
        /// DNS记录内容
        ///Required:true
        ///</summary>
        [Required]
        public   string Content{ get; set; }
        ///<summary>
        /// DNS记录的生存时间。值为1是 &quot;自动&quot;。
        ///Required:true
        ///</summary>
        [Required]
        public   double Ttl{ get; set; }
        ///<summary>
        /// 是否利用星盾的性能和安全优势
        ///</summary>
        public   bool Proxied{ get; set; }
        ///<summary>
        /// 如果是MX记录，该属性是必需的
        ///</summary>
        public   int? Priority{ get; set; }
        ///<summary>
        /// SrvData
        ///</summary>
        public   SRVdata SrvData{ get; set; }
        ///<summary>
        /// CaaData
        ///</summary>
        public   CAAdata CaaData{ get; set; }
        ///<summary>
        /// Zone_identifier
        ///Required:true
        ///</summary>
        [Required]
        public   string Zone_identifier{ get; set; }
        ///<summary>
        /// Identifier
        ///Required:true
        ///</summary>
        [Required]
        public   string Identifier{ get; set; }
    }
}